package com.example.chouti.fragment;

import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import androidx.fragment.app.Fragment;
import com.example.chouti.R;

public class FirstFragment extends Fragment {
    private static String ARG_PARAM1 = "param1";
    private static String ARG_PARAM2 = "param2";
    private static FirstFragment mFragment;

    public static FirstFragment newInstance(String param1 , String param2){
        mFragment = new FirstFragment();
        Bundle arg = new Bundle();
        arg.putString(ARG_PARAM1,param1);
        arg.putString(ARG_PARAM2,param2);
        return mFragment;
    }

    @Override
    public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {
        return inflater.inflate(R.layout.fragment_first,container,false);
    }
}
